{extend name="public/base"}

{block name="title"}修改登陆密码{/block}

{block name="main"}
<!--添加用户UI-->
<div class="layui-row">
    <div class="layui-col-md4 layui-col-md-offset4">
        <form action="{:url('/admin/'.$obj.id)}" method="post" class="layui-form layui-form-pane admin-form">
            <input type="hidden" name="_method" value="put">
            <div class="layui-form-item" >
                <label for="username" class="layui-form-label">用户名</label>
                <div class="layui-input-block">
                    <input type="text" disabled value="{$obj.username}" id="username" name="username" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item" >
                <label for="newpassword" class="layui-form-label">新密码</label>
                <div class="layui-input-block">
                    <input type="password" lay-verify="required" required id="newpassword" name="newpassword" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item" >
                <label for="newpasswordnot" class="layui-form-label">重复新密码</label>
                <div class="layui-input-block">
                    <input type="password" required lay-verify="required" id="newpasswordnot" name="newpasswordnot" class="layui-input">
                </div>
            </div>

                    <input type="hidden" value="{:token()}" name="__token__">
                    <button class="layui-btn layui-btn-success layui-btn-fluid layui-btn-lg">提交修改</button>

        </form>
    </div>
</div>
{/block}